package com.shan.mybatis.service;

import com.shan.mybatis.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: ShanYuqing
 * @Version: v1.0
 */
public interface DeptService {
    List<Dept> list();

    void deleteById(Integer id);

    void addDept(Dept dept);

    void update(Dept dept);

    Dept selectByid(Integer id);
}
